//
//  golf.hpp
//  Practice9
//
//  Created by 赵世杰 on 2020/7/5.
//  Copyright © 2020 zhaoshijie. All rights reserved.
//

#ifndef golf_hpp
#define golf_hpp

#include <stdio.h>

#endif /* golf_hpp */


const int Len = 40;

class Golf
{
    
    
public:
    char fullname[Len];
    int handicap;
    
    


    Golf(const char*name ,const int hc);

    void setgolf(const char *name, int hc);

    int setgolf();

    void setHandicap(int hc);

    void showgolf();
    
};


